from django.contrib import admin
from django.urls import path
from django.urls import include
from django.conf.urls.static import static
from oaback import settings

urlpatterns = [
    path("api/admin/", admin.site.urls),
    path("api/home/", include("apps.home.urls")),
    path("api/auth/", include("apps.oaauth.urls")),
    path("api/absent/", include("apps.absent.urls")),
    path("api/inform/", include("apps.inform.urls")),
    path("api/staff/", include("apps.staff.urls")),
    path("api/image/", include("apps.image.urls")),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
